import { default as request, cloud } from '@/framework/utils/request'

// 集团
export function getChildrenRegionsListByNumV2(data) {
  return request({
    url: cloud.interfacePlatform + '/interfaceCameraMonitor/getChildrenRegionsListByNumV2',
    method: 'post',
    data
  })
}

// 集团根
export function getRootRegionsV1(data) {
  return request({
    url: cloud.interfacePlatform + '/interfaceCameraMonitor/getRootRegionsV1',
    method: 'post',
    data
  })
}

export function getRegionDevicesList(data) {
  return request({
    url: cloud.interfacePlatform + '/interfaceCameraMonitor/getRegionDevicesList',
    method: 'post',
    data
  })
}

// 为监控设备批量设置定时任务
export function setBatchMonitorTimer(data) {
  return request({
    url: cloud.interfacePlatform + '/interfaceCameraMonitor/setBatchMonitorTimer',
    method: 'post',
    data
  })
}
